package com.ruoyi.user.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.user.domain.UserVoiceCall;

/**
 * 用户语音通话Service接口
 * 
 * @author DEREK
 * @date 2023-08-15
 */
public interface IUserVoiceCallService extends IService<UserVoiceCall>
{
    /**
     * 查询用户语音通话
     * 
     * @param id 用户语音通话主键
     * @return 用户语音通话
     */
    public UserVoiceCall selectUserVoiceCallById(Long id);

    /**
     * 查询用户语音通话列表
     * 
     * @param userVoiceCall 用户语音通话
     * @return 用户语音通话集合
     */
    public List<UserVoiceCall> selectUserVoiceCallList(UserVoiceCall userVoiceCall);

    /**
     * 新增用户语音通话
     * 
     * @param userVoiceCall 用户语音通话
     * @return 结果
     */
    public int insertUserVoiceCall(UserVoiceCall userVoiceCall);

    /**
     * 修改用户语音通话
     * 
     * @param userVoiceCall 用户语音通话
     * @return 结果
     */
    public int updateUserVoiceCall(UserVoiceCall userVoiceCall);

    /**
     * 批量删除用户语音通话
     * 
     * @param ids 需要删除的用户语音通话主键集合
     * @return 结果
     */
    public int deleteUserVoiceCallByIds(Long[] ids);

    /**
     * 删除用户语音通话信息
     * 
     * @param id 用户语音通话主键
     * @return 结果
     */
    public int deleteUserVoiceCallById(Long id);
}
